package com.xx.happychatboot.serve.user.domain.entity;

import io.mybatis.provider.Entity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 功能物品配置表
 * </p>
 *
 * @author xiaoXuan
 * @since 2025-01-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Entity.Table("item_config")
public class ItemConfig implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @Entity.Column(id = true, remark = "主键", updatable = false, insertable = false)
    private Long id;

    /**
     * 物品类型 1改名卡 2徽章
     */
    @Entity.Column("type")
    private Integer type;

    /**
     * 物品图片
     */
    @Entity.Column("img")
    private String img;

    /**
     * 物品功能描述
     */
    @Entity.Column("describe")
    private String describe;

    /**
     * 创建时间
     */
    @Entity.Column("create_time")
    private LocalDateTime createTime;

    /**
     * 修改时间
     */
    @Entity.Column("update_time")
    private LocalDateTime updateTime;


}
